<?php
defined('SYSPATH') OR die('No direct access allowed.');
/**
 * detailmaterialout.php
 * @author ranuandra
 *
 * 7 Sep 2011 00:12:23
 *
 * 
 */
class Controller_Detailmaterialout extends Kohana_Mapi
{
	 public function action_view()
	 {
	 	$this->auto_render = false;
	 	$data = array(
					'materialout_id'  => "",
					'material_id'	 => "",
				    'jumlah'		 => "",
				    'location_id'	 => "",
				    'group_id'	 => ""
	 			);
	 	$hasil[] = $data;
	 	echo json_encode(array("success" => true, "message" => "Loaded data", "materialout" => $hasil));
	 }
}